.bodybox{
    display: flex;
    justify-content:flex-start;
    flex-direction: row;
    align-items: flex-start;
}

.nav{
    position: fixed;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 60px;
    background: rgba(5,4,19,0.98);
    box-shadow: 0px 1px 5px 1px rgba(0, 38, 61, 0.86);
}
.nav h2{
    font-family: 微软雅黑;
    display: inline-block;
    height: 60px;
    line-height: 60px;
    color: #f9fcff;
    margin-left: 50px;
}
nav span{
    background: brown;
    width: 80px;
    height: 30px;
    line-height: 30px;
    font-weight: bolder;
    font-family: 微软雅黑;
    font-size: 14px;
    color: white;
    text-align: center;
    border-radius: 15px;
    border: #e7eaed solid 2px;
    margin-right: 150px;
    cursor: pointer;
}

footer{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    font-family: 微软雅黑;
    background: rgba(5,4,19,0.92);
    height: 70px;
}

footer p{
    width: 200px;
    font-weight: lighter;
}

footer a{
    margin: 3px 3px;
    padding: 3px 3px;
    width: 100px;
    text-decoration: none;
    color: rgba(249,252,255,0.93);
    border-left: rgba(96,97,93,0.93) solid 1px;
    font-weight: lighter;
}

footer a:hover{
    color: rgba(96,97,93,0.93);
    font-weight: bolder;
    transition: .3s;
}

.edit{
    position: fixed;
    right: 5%;
    width: 450px;
    margin-top: 140px;
    padding: 20px;
    background: white;
    opacity: .85;
}

.editbox{
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}
.editbox div{
    width: 100%;
    padding: 10px 2px;
    /*background: rgba(192, 196, 190, 0.72);*/
    margin:0px 0px;
}
.editboxhiden{
    display: none;
}
.tapul{
    position: fixed;
    top: 100px;
    right: 5%;
    padding: 0;
    width: 490px;
    height: 40px;
    display: flex;
    text-align: center;
    background: #2b2b2b;
    color: white;
    border-top: #05051d solid 2px;
}
.tapul li{
    cursor: pointer;
    flex-grow: 1;
    height: 100%;
    line-height: 40px;
    margin: 0;
    display: inline-block;
    /*background: crimson;*/
    /*border-bottom: black solid 1px;*/
}

.active{
    /*padding: 5px;*/
    display: inline-block;
    background: #05051d;
    font-weight: bolder;
}


button{
    height: 30px;
    background: #6d1d1d;
    padding: 4px 15px;
    font-family: 微软雅黑;
    font-weight: lighter;
    color: white;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    margin-left: 3px;
}
button:hover{
    transition: .3s;
    box-shadow: 1px 1px 3px 1px #333333;
}

iframe{
    padding: 2mm;
    width: 210mm;
    /*height: 297mm;*/
    background: #e7eaed;
    margin-top: 100px;
    margin-left: 8%;
    margin-bottom: 80px;
    box-shadow: 3px 4px 4px 1px rgba(0, 38, 61, 0.86);
    /*opacity: .8;*/
}

/*textarea*/

textarea {
    width: 99%;
    min-height: 200px;
    /*word-wrap : break-word;*/
    resize: none;
}

/*input*/

input{
    height: 25px;
}

/*resume_style_div*/
.resume_style_div{
    position: fixed;
    top: 35%;

}
/*resume_style*/
.resume_style li{
    padding: 10px;
    margin:5px -25px;
    width: 20px;
    height: 20px;
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
    background: tomato;
    transition: .3s;
}

.resume_style span{
    display: none;
    color: white;
    height: 40px;
    line-height: 40px;
    text-align: center;

}

.resume_style li:hover{
    cursor: pointer;
    transition: .3s;
    padding: 10px;
    margin:5px 0px;
    width: 40px;
    height: 40px;
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
    background: #6d1d1d;
    box-shadow: 2px 2px 2px 1px #00263d;
}
/*样式改变事件叠加*/
.resume_style li:hover span{
    display: block;
    width: 15px;
    height: 40px;
    font-family: "微软雅黑 Light";
    font-size: 14px;
}

